package com.kuaimacode.kframework.mybatis.models.index;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 帮助
 * </p>
 *
 * @author Bean
 * @since 2019-03-15
 */

@Data
@TableName("help")
public class Help implements java.io.Serializable{
	@TableField(exist=false)
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "问题")
	@TableField("title")
	private String title;

	@ApiModelProperty(value = "帮助内容")
	@TableField("content")
	private String content;

	@ApiModelProperty(value = "创建时间")
	@TableField("create_at")
	private Date createAt;

	@ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private Long createBy;
    /**
     * 0 正常 1 删除
     */
	@ApiModelProperty(value = "状态 0 正常 1 删除")
	@TableField("status")
	private String status;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}




}
